package com.fastloan.mgt.invest.weixin.model.menu;

import com.alibaba.fastjson.annotation.JSONField;

import java.util.List;

/**
 * @author rankai
 *         createTime 2017-08-2017/8/17 13:34
 */
public class Button {

    private String type;
    private String name;
    private String key;

    @JSONField(name = "sub_button")
    private List<SubButton> subButtons;

    public void setName(String name) {
        this.name = name;
    }

    public String getName() {
        return name;
    }

    public List<SubButton> getSubButtons() {
        return subButtons;
    }

    public void setSubButtons(List<SubButton> subButtons) {
        this.subButtons = subButtons;
    }

    public String getType() {
        return type;
    }

    public void setType(String type) {
        this.type = type;
    }

    public String getKey() {
        return key;
    }

    public void setKey(String key) {
        this.key = key;
    }
}